import Layout from "@/layout"; //导入layout这个页面
// 审批模块路由规则
export default {
  path: "/settings",
  component: Layout,
  children: [
    {
      // path为空字符串表示默认路由
      path: "",
      name: "settings", // 路由的名称
      // name作为后续动态路由表筛选的条件
      // component: () => import("@/views/settings"),
      component: () => import("@/views/settings"),
      meta: { title: "公司设置", icon: "setting" }, //这是控制左侧的图标和名字
    },
  ],
};
